package org.scirp.ijmis.dao.personpaper;

import java.util.List;

import org.scirp.ijmis.po.personpaper.SurveyChoiceOfPerson;


public interface ISurveyChoiceOfPersonDAO {

	public List<SurveyChoiceOfPerson> selectAll();

	public Long countObject();

	public SurveyChoiceOfPerson selectById(Object id);

	public long saveSurveyChoiceOfPerson(SurveyChoiceOfPerson entity);

	public boolean updateSurveyChoiceOfPerson(SurveyChoiceOfPerson entity);

	public SurveyChoiceOfPerson deleteSurveyChoiceOfPerson(SurveyChoiceOfPerson entity);

	public List<SurveyChoiceOfPerson> selectSurveyChoiceOfPersonByPersonId(Long personId);
	public boolean deleteSurveyChoiceOfPersonByPersonIdAndSureyId(Long personId,Long surveyId);
	public List<SurveyChoiceOfPerson> selectSurveyChoiceOfPersonBySurveyChoiceId(Long surveyChoiceId);
	public boolean deleteSurveyChoiceOfPersonByPersonId(Long personId);
	public Long countObjectByChoiceId(Long ChoiceId) ;
	public Long countObjectBySurveyId(Long surveyId);
}
